﻿using System;
using System.Collections.Generic;
using UnityEngine;

namespace DashFire.ResourceLoad
{
  internal class Log
  {
    public static void Warning(string err, params object[] args)
    {
      Debug.Log(string.Format(err, args) );
    }
    public static void Trace(string log, params object[] args)
    {
      Debug.Log(string.Format(log, args));
    }
    public static void LogException(Exception e)
    {
      //Debug.Log(string.Format(err, args));

    }
    public static void Error(string err, params object[] args)
    {
      Debug.Log(string.Format(err, args));
    }
    public static void Info(string err, params object[] args)
    {
      Debug.Log(string.Format(err, args));
    }

    public static void LogWarning(string err, params object[] args)
    {
      //DoLog(err, args, LogLevel.Warning);
    }

    public static void LogErrorWithStack(string err = "", int stack = 2)
    {
    }


    private static void DoLog(string szMsg, object[] args)
    {

    }
  }
}
